interface Person {
  name: string;
  age: number;
  job: string;
  sayName: () => void;
}

function Person(name: string, age: number, job: string) {
  this.name = name;
  this.age = age;
  this.job = job;
  this.sayName = function(): void {
    console.log(this.name);
  };
}

export {};
